﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace APH.Parl2.AuthoringClient
{
    public partial class PublishDocument : Form
    {
        public PublishDocument()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            PublishService.IServiceTest pubService = new PublishService.ServiceTestClient();
            FileStream file = new FileStream("Test.docx",FileMode.Open);
            pubService.UploadFile(file);
        }
    }
}
